package com.shuangfeidasan.model.ums;

import java.util.ArrayList;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description 后台菜单表(UmsMenu)实体类
 * @Author JunWEI
 * @Date 2022-02-28 14:30:34
 */
@Data
@EqualsAndHashCode
public class UmsMenu implements Serializable {
    private static final long serialVersionUID = 679845635385563739L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "父ID")
    private Long parentId;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "组件")
    private String component;

    @ApiModelProperty(value = "排序")
    private Long sort;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "子菜单")
    private List<UmsMenu> submenus = new ArrayList<>();

}

